<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>vue入门</title>
</head>
<body>
      <!--视图-->
      <div id="div">
          {{a}}
      </div>
</body>
      <script src="js/vue.js"></script>

      <script>
          //脚本
          new Vue({
            el:"#div",
            data:{
              a:"fuck"
            }
          })
      </script>
</html>